package agentspeakeditor.editors.common.AST.Line;

import java.util.ArrayList;

import agentspeakeditor.editors.common.AST.AST;
import agentspeakeditor.editors.common.AST.Terminal.ID;
import agentspeakeditor.editors.common.checker.SemanticException;
import agentspeakeditor.editors.common.checker.Visitor;

public class Command extends AST{

	private ID id;
	private ArrayList<ID> idList;
	
	public Command(ID id,ArrayList<ID> idList){
		this.id = id;
		this.idList = idList;
	}
		
	
	public ID getId() {
		return id;
	}



	public void setId(ID id) {
		this.id = id;
	}



	public ArrayList<ID> getIdList() {
		return idList;
	}



	public void setIdList(ArrayList<ID> idList) {
		this.idList = idList;
	}



	@Override
	public Object visit(Visitor v, Object arg) throws SemanticException {
		return v.visitCommand(this, arg);
	}

	@Override
	public String toString(int level) {
		// TODO Auto-generated method stub
		return null;
	}

}
